Class
NullLogger<T>
class NullLogger<T>
Module: Neo.Logging
Assembly: Neo.Logging.Abstractions.dll
Source file: NullLogger.rvn
Inheritance: Object → NullLogger<T>
Implements: Logger<T>
Shared typed logger that never writes or evaluates a formatter.
Properties
1 item
Static member:
Instance: NullLogger<T>
Reusable stateless no-op logger for T.
Methods
7 items
BeginScope<TState>(state: TState) -> Disposable?
No summary available.
Implements Logger.BeginScope
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
IsEnabled(level: LogLevel) -> bool
No summary available.
Implements Logger.IsEnabled
Log<TState>(level: LogLevel, eventId: EventId, state: TState, error: Error?, formatter: (TState, Error?) -> string) -> ()
No summary available.
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString